﻿<Window x:Class="MouseExtender.ErrorWindow"
				xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
				xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
				xmlns:resx="clr-namespace:MouseExtender.Resources"
				Title="{x:Static resx:UIResources.Error_CriticalError}" Height="300" Width="300" WindowStartupLocation="CenterOwner" ResizeMode="NoResize" SizeToContent="WidthAndHeight">
	<Grid>
		<Grid.RowDefinitions>
			<RowDefinition/>
			<RowDefinition Height="Auto"/>
		</Grid.RowDefinitions>
		<Grid.Background>
			<SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ControlColorKey}}"/>
		</Grid.Background>
		<TextBox Grid.Row="0" Name="tbErrorMessage" Margin="5" IsReadOnly="True" BorderThickness="0" Background="Transparent" />
		<Button Grid.Row="1" Name="btnClose" Content="{x:Static resx:UIResources.Error_CloseApplication}" Margin="8" Padding="2" HorizontalAlignment="Center" VerticalAlignment="Center" IsDefault="True" IsCancel="True" />
	</Grid>
</Window>
